import Http from '../utils/request'

class sysBusiTypeService extends Http{

  allBusiType=()=>{
    return this.post('/sysbusitype/querySysBusiTypeData')
  }

  deleteBusiType=(data)=>{
    return this.post('/sysbusitype/delete/'+data.id)
  }

  updateBusiType=(data)=>{
    return this.post('/sysbusitype/update',data)
  }

  addBusiType=(data)=>{
    return this.post('/sysbusitype/add',data)
  }

  getBusiTypeData=(data)=>{
      return this.post('/sysbusitype/getbusitypebyid/'+data.id)
  }
}

export default new sysBusiTypeService();
